
    function getWidth(){
    ScreenRes = screen.width;
    document.write("<table cellspacing='0' cellpadding='0' border='0' width=" +ScreenRes+  ">");
    }
    function getWidthDiv(){
    ScreenRes = screen.width;
    document.write("<div id='content' class='wm_content' width=' +ScreenRes+  '>");
    }

function getKunde(abwartId){
ajax_loadContent('kunde','abwesenheit/zeigeKunden.jsp?abwartId='+abwartId.value);
}

function getTimebox(time){
if(time.checked==true){
ajax_loadContent('timebox','abwesenheit/zeigeTimebox.jsp');
}else
ajax_loadContent('timebox','abwesenheit/leer.jsp');
}

function openCalendar(myurl){ // open window to select car type
    mywin=window.open(myurl,"type","width=900,height=600,scrollbars=1, resizable=yes,scrollbars=yes");
    }